{% extends 'adminbase.html' %}
{% block content_admin %}

	<p>	
		<a href="/admin/admin_createpage">Create Page</a>
	</p>
	List of Page

	{% if page_list %}
	    <ul>
	    {% for page in page_list %}
	        <li><a href="/admin/admin_detailpage/{{ page.pk }}/">{{ page.title }}</a></li>
	    {% endfor %}
	    </ul>
	{% else %}
	    <p>No pages are available.</p>
	{% endif %}

{% endblock %}
